﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace wscf.lightblue.UI
{
	public partial class CreateXmlSchemaDialog : Form
	{
		public string Name { get; set; }

		public CreateXmlSchemaDialog(string name)
		{
			InitializeComponent();
			Name = name;
		}

		private void CreateXmlSchemaDialog_Load(object sender, EventArgs e)
		{
			nameTextBox.Text = Name;
		}

		private void okButton_Click(object sender, EventArgs e)
		{
			Name = nameTextBox.Text;
			Close();
		}

		private void cancelButton_Click(object sender, EventArgs e)
		{
			Close();
		}
	}
}
